home *** CD-ROM | disk | FTP | other *** search
- property ancestor
- global gDBTableVarList
-
- on new me, theSliderName, thecast, theThumbChannel, theThumbLoc, minPixel, maxPixel, initialSetting, numSettings, minSetting, maxSetting, isContinuous, isHoriz, directionOfIncrease, descendant
- if objectp(descendant) then
- ancestor = new(script("slider thumb"), theSliderName, thecast, theThumbChannel, theThumbLoc, minPixel, maxPixel, initialSetting, numSettings, minSetting, maxSetting, isContinuous, isHoriz, directionOfIncrease, descendant)
- else
- ancestor = new(script("slider thumb"), theSliderName, thecast, theThumbChannel, theThumbLoc, minPixel, maxPixel, initialSetting, numSettings, minSetting, maxSetting, isContinuous, isHoriz, directionOfIncrease, me)
- end if
- return me
- end
-
- on performFunction me
- MyObj = getaProp(gDBTableVarList, GetObjProp())
- TableObj = GetTableObj(MyObj)
- topRow = getTopRow(TableObj)
- if me.pSetting < topRow then
- scrollUp(TableObj)
- else
- if me.pSetting > topRow then
- scrollDown(TableObj)
- end if
- end if
- return me
- end
-
- on disable me
- me.pIsDisabled = 1
- set the loc of sprite the pThumbChannel of me to point(-9999, -9999)
- return me
- end
-
- on buttonLoc me
- return me
- end
-